package com.project.pojo.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description: 评论回收员入参类
 * @Author: zhuchi
 * @CreateDate: 2020/11/16 17:13
 * @Version: 1.0
 */
@Data
@ApiModel(value = "评论回收员入参类")
public class RecoveryMemberEvaModel {

    /**
     * 综合评分
     */
    @NotNull(message = "请选择综合评分")
    @ApiModelProperty(value = "综合评分")
    private Integer score = 5;

    /**
     * 评价内容
     */
    @ApiModelProperty(value = "评价内容")
    private String info = "此用户没有添加任何评价";

    /**
     * 回收订单ID
     */
    @NotNull(message = "请选择要评价的订单")
    @ApiModelProperty(value = "回收订单ID")
    private Long recoveryOrderId;

}
